package com.yanqu.road.entity.activity.evefeast.config;

import com.yanqu.road.entity.config.system.PropertyWeightItem;
import com.yanqu.road.utils.property.Property;
import com.yanqu.road.utils.string.StringUtils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 物品效果配置信息
 */
public class EveFeastEffectInfo {
    private int effectType;
    private List<Integer> params = new ArrayList<>();

    public EveFeastEffectInfo(int effectType, String params) {
        this.effectType = effectType;
        this.params = StringUtils.stringToIntegerList(params, "\\|");
    }

    public int getEffectType() {
        return effectType;
    }

    public List<Integer> getParams() {
        return params;
    }
}
